func go/types.lookupFieldOrMethod
5 uses
go/types (current package)
builtins.go#L725: obj, index, indirect := lookupFieldOrMethod(base, false, check.pkg, sel, false)
call.go#L808: obj, index, indirect = lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, false)
call.go#L834: alt, _, _ := lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, true)
lookup.go#L48: return lookupFieldOrMethod(T, addressable, pkg, name, false)
lookup.go#L53: func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string, foldCase bool) (obj Object, index []int, indirect bool) {